import request from '@/utils/request'

// 查询GeneralUserChannel列表
export function listGeneralUserChannel(query) {
return request({
url: '/api/v1/generaluserchannelList',
method: 'get',
params: query
})
}

// 查询GeneralUserChannel详细
export function getGeneralUserChannel (channelId) {
return request({
url: '/api/v1/generaluserchannel/' + channelId,
method: 'get'
})
}


// 新增GeneralUserChannel
export function addGeneralUserChannel(data) {
return request({
url: '/api/v1/generaluserchannel',
method: 'post',
data: data
})
}

// 修改GeneralUserChannel
export function updateGeneralUserChannel(data) {
return request({
url: '/api/v1/generaluserchannel',
method: 'put',
data: data
})
}

// 删除GeneralUserChannel
export function delGeneralUserChannel(channelId) {
return request({
url: '/api/v1/generaluserchannel/' + channelId,
method: 'delete'
})
}

